package org.cangku.dao;

import org.apache.ibatis.annotations.Param;
import org.cangku.entity.Ticheng;
import org.cangku.entity.Xiaoshou;

import java.util.List;

public interface TiChengDao {
    public List<Ticheng> query(@Param("name") String name,@Param("offset") int offset,@Param("limit") int limit);

    public int count(@Param("name") String name);

    public int cunzai(@Param("id") int id);

    public int update(Ticheng ticheng);

    public int insert(Ticheng ticheng);

    public int updatejine(Ticheng tc);
}
